// import React from 'react'
import { Routes, Route } from 'react-router-dom'
import AppRoot from './App'
import HomePage from './pages/Home'
import AboutPage from './pages/About'
import TodoPage from './pages/Todo'

export const RootRoutes= () => {
  return (
    <Routes>
      <Route path="/"       element={<AppRoot />} />
      <Route path="/home"   element={<HomePage />} />
      <Route path="/about"  element={<AboutPage />} />
      <Route path="/todo"   element={<TodoPage />} />
    </Routes>
  )
}
